lib: Move the bupsplit selftest into our test framework
authorColin Walters <walters@verbum.org>
Wed, 25 Jan 2017 14:25:27 +0000 (09:25 -0500)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 2 Feb 2017 16:51:36 +0000 (16:51 +0000)
commit5eea1cdad8a5fa8a96c561248d9dabbc0b848016
tree9fac6f9731dc64ee3c07de5051468d22654277fc
parent95b15afe134cbbcab7f9c331126487889ef3fcb2
lib: Move the bupsplit selftest into our test framework

We weren't running it before. Also I switched it to use GLib. Preparation for
some oxidation work (having an implementation of bupsplit in Rust).

I exported another function to do the raw rollsum operation which is what this
test suite uses.

Closes: #655
Approved by: jlebon
src/libostree/bupsplit.c
src/libostree/bupsplit.h
tests/test-rollsum.c